<?php

namespace Laoha\Core\Sets;

use Encore\Admin\Widgets\Form;

class Cache extends Form
{
    
	
	/**
     * The form title.
     *
     * @var string
     */
    public $name = 'cache';
	public $title = '缓存';

    /**
     * Build a form here.
     */
    public function form()
    {
		$this->data = require(config_path('sets/'.$this->name.'.php'));
        $this->action(admin_base_path('laoha/set').'?active='.$this->name);

		$this->text('name')->rules('required');
        $this->email('email')->rules('email');
        $this->datetime('created_at');
    }

}
